/* Copyright (c) 2004-2024 peigen.info. All rights reserved. */

package info.peigen.hotpot.common.service.base.test.mock;

import info.peigen.hotpot.common.core.result.ResultCode;
import info.peigen.hotpot.common.core.result.ResultStatus;
import info.peigen.hotpot.common.service.base.gateway.GatewayFacade;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;

/**
 * <b>(ServiceTestMockContext)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2021/5/4
 */
@SuppressWarnings("unused")
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
public class ServiceTestMockContext {
    GatewayFacade mockGatewayFacade;
    ResultStatus  expectResultStatus;
    ResultCode    expectResultCode;
    String        expectErrorCode;
    String        expectErrorDesc;

    public ServiceTestMockContext(String expectErrorCode, String expectErrorDesc) {
        this.expectErrorCode = expectErrorCode;
        this.expectErrorDesc = expectErrorDesc;
    }

}